package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 参数对象 tb_para
 * 
 * @author ruoyi
 * @date 2022-06-01
 */
public class TbPara extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 选项 */
    @Excel(name = "选项")
    private String options;

    /** 排序 */
    @Excel(name = "排序")
    private Long seq;

    /** 模板ID */
    private Integer templateId;

    @Transient
    private String tbTemplateName;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getTbTemplateName() {
        return tbTemplateName;
    }

    public void String(String tbTemplateName) {
        this.tbTemplateName = tbTemplateName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setSeq(Long seq) 
    {
        this.seq = seq;
    }

    public Long getSeq() 
    {
        return seq;
    }
    public void setTemplateId(Integer templateId) 
    {
        this.templateId = templateId;
    }

    public Integer getTemplateId() 
    {
        return templateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("options", getOptions())
            .append("seq", getSeq())
            .append("templateId", getTemplateId())
            .append("tbTemplateName", getTbTemplateName())
            .toString();
    }
}
